import store from '../store'
export function isLogin(){
	return store.state.login.account.id?true:false
}
export function changeDocumentTitle(toPath){
	const title = toPath.meta.name_zh || ""
	document.title = title
}